CXX = hipcc
CXXFLAGS = -std=c++17
LDFLAGS = 

SRCS = mlp_dcu.cpp main.cpp
OBJS = $(SRCS:.cpp=.o)
TARGET = mlp_forward

.PHONY: all clean

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)

%.o: %.cpp
	$(CXX) $(CXXFLAGS) -c $< -o $@

clean:
	rm -f $(OBJS) $(TARGET) *.csv
